package com.xmlt.core.template.types;

public abstract class AbstractTypeValidator implements IValidator {
	/* (non-Javadoc)
	 * @see com.xmlt.core.template.types.IValidator#validate(java.lang.String)
	 */
	@Override
	public abstract boolean validate(String value);
	
	/* (non-Javadoc)
	 * @see com.xmlt.core.template.types.IValidator#getDisplayValue(java.lang.String)
	 */
	@Override
	public String getDisplayValue(String value) {
		return value;
	}
	
	/* (non-Javadoc)
	 * @see com.xmlt.core.template.types.IValidator#getContentValue(java.lang.String)
	 */
	@Override
	public Object getContentValue(String value) {
		return value;
	}
}
